﻿@using System.Data;
@using DTcms.Common;
@model DTcms.Model.BaseModel
@{
    var m = (DTcms.Model.article)Model.info["article"];
    var siteModel = (DTcms.Model.site_channel)Model.info["site_model"];
    string category_title = Html.get_category_title(m.category_id, "公司介绍");
    ViewBag.Title = m.title + "-" + category_title + "-" + Model.site.name;
    ViewBag.Keywords = m.seo_keywords;
    ViewBag.Description = m.seo_description;
}
@section HeaderContent{

}
<!--当前位置-->
<div class="section">
    <div class="location">
        <span>当前位置：</span>
        <a href="@Html.linkurl("index")">首页</a> &gt;
        <a href="javascript:;">@category_title</a> &gt;
        <a href="javascript:;">@m.title</a>
    </div>
</div>
<!--/当前位置-->
<!--导航推荐-->
<div class="section">
    <div class="wrapper">
        <div class="bg-wrap">
            <div class="nav-tit">
                @{
                    DataTable contentList = Html.get_article_list(siteModel.name, 0, 0, "status=0");
                    foreach (DataRow cdr in contentList.Rows)
                    {
                        int cdr__loop__id = contentList.Rows.IndexOf(cdr)+1;
                        <a class="@(Utils.ObjToInt(cdr["id"]) == m.id?"selected":"")" href="@Html.linkurl("content",cdr["call_index"])">@cdr["title"]</a>
                        if (cdr__loop__id < contentList.Rows.Count)
                        {
                            <i>|</i>
                        }
                    }
                }
            </div>
            <h1 style="padding:20px;line-height:30px;color:#c00;font-size:30px;text-align:center;font-weight:300;">@m.title</h1>
            <div class="entry">
                @Html.Raw(m.content)
            </div>
            <div class="line15"></div>
        </div>
    </div>
</div>
@section Scripts{

}
